<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <!-- jqgrid-->
    <link href="__STATIC__/layout/css/plugins/jqgrid/ui.jqgrid.css?0820" rel="stylesheet">
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link rel="stylesheet" href="__STATIC__/layout/css/zTreeStyle.css" type="text/css">
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/sc/js/page.js"></script>
</head>

<body style="color:#333;padding:3px;" class="x_sorll">
    <!-- 标题 -->
   <div class="page-heade clearfix">
          <h2 class="clearfix text-center">
        <a class="col-md-4 title_color H_right" id="Ap1" style="font-size: 16px;color:#333;" href="{:url('Wangdian/allapcha')}">所属网点销售目标查询</a>
        <a class="col-md-4 title_color H_right" id="Ap2" style="font-size: 16px;color:#333;" href="{:url('Wangdian/allapmanage')}">所属网点销售目标管理</a>
        <a
            class="col-md-4 title_color  H_active" id="Ap3" style="font-size: 16px"  href="{:url('Wangdian/allaptongji')}">所属网点销售目标统计</a>
         </h2>
    </div>
    <!-- 标题 -->
    
    <!-- 筛选 -->
    <form class="formpage" method="post" accept-charset="utf-8">
        <div class="form-inline padd">
            <div class="form-group margin-10 col-sm-4">
                <label for="exampleInputEmail2">营销分区：</label>
                <input type="text" name="fenqu"  value="{$data.fenqu}" placeholder="" class="form-control">
            </div>
            <div class="form-group margin-10 col-sm-4">
                <label for="exampleInputEmail2">营销省份：</label>
                <input type="text" name="sheng" value="{$data.sheng}" placeholder="" class="form-control">
            </div>
            <div class="form-group margin-10 col-sm-4">
                <label for="exampleInputEmail2">营销城市：</label>
                <input type="text" name="shi" value="{$data.shi}" placeholder="" class="form-control">
            </div>
            <div class="form-group margin-10 col-sm-4">
                <label for="exampleInputEmail2">经销商名称：</label>
                <input type="text" name="jxs" value="{$data.jxs}" placeholder="" class="form-control">
            </div>
            <div class="form-group margin-10 col-sm-4">
                <label for="exampleInputEmail2">系统名称：</label>
                <input type="text" name="sys" value="{$data.sys}" placeholder="" class="form-control">
            </div>
            <div class="form-group margin-10 col-sm-4">
                <label for="exampleInputEmail2">网点名称：</label>
                <input type="text" name="net" value="{$data.net}" placeholder="" class="form-control">
            </div>
            <div class="form-group margin-10 col-sm-4">
                <label for="exampleInputEmail2">一级渠道：</label>
                <input type="text" name="c1" value="{$data.c1}" placeholder="" class="form-control">
            </div>
            <div class="form-group margin-10 col-sm-4">
                <label for="exampleInputEmail2">二级渠道：</label>
                <input type="text" name="c2" value="{$data.c2}" placeholder="" class="form-control">
            </div>
            <div class="form-group margin-10 col-sm-4">
                <label for="exampleInputEmail2">财年：</label>
                <select name="cid" class="form-control">
                    <option value="0">请选择</option>
                    {volist name="cainian" id="c"}
                        <option value="{$c.id}" {if $c.id==$data.cid}selected{/if}>{$c.title}</option>
                    {/volist}
                </select class="form-control">
            </div>
            
            <div class="form-group margin-10 col-sm-4">
                <label for="exampleInputEmail2">销售品牌 ：</label>
                <input type="text" name="pinpai" value="{$data.pinpai}" placeholder="" class="form-control">
            </div>
            <div class="margin-10 text-center col-sm-12">
               <input type="button" value="查询" class='btn btn-outline btn-primary' id="check"/>
             <input type="button" value="清空查询条件" class='btn btn-outline btn-warning' id="clear_check"/>
            </div>
        </div>
    </form>
    <!-- 筛选 -->
    <!-- 表格 -->
    <div class="col-md-12 no-padding" style="padding: 0 12px;">
        <div >
            <table border="1" class="table table-striped table-bordered table-hover bud_hei text-center">
                <tr class="info">
                    <td rowspan="2">No.</td>
                    <td colspan="" rowspan="2" headers="">明细编号</td>
                    <td colspan='5'>目标信息</td>
                    <td colspan="4">网点信息</td>
                    <td colspan="2">网点所属渠道</td>
                    <td colspan="9">网点所属情况</td>
                    <td colspan="3" rowspan="" headers="">网点所属负责人</td>
                </tr>
                <tr class="info">
                    <td>财年</td>
                    <td>一级考核期</td>
                    <td>销售网点</td>
                    <td>销售品牌</td>
                    <td>目标金额（元）</td>
                    <td>网点编号</td>
                    <td>网点名称</td>
                    <td>系统自编店号</td>
                    <td>是否直营</td>
                    <td>一级渠道</td>
                    <td>二级渠道</td>
                    <td>网点所属行政省份</td>
                    <td>网点所属行政城市</td>
                    <td>网点所属营销分区</td>
                    <td>网点所属营销省份</td>
                    <td>网点所属营销城市</td>
                    <td>网点所属经销商编号</td>
                    <td>网点所属经销商</td>
                    <td>网点所属系统编号</td>
                    <td>网点所属系统</td>
                    <td>分区经理</td>
                    <td>省份经理</td>
                    <td>城市经理</td>
                   
                </tr>
                {volist name="apply" id="vo"}
                <tr>
                    <td>{$i}</td>
                    <td>{$vo.no}-{$vo.detail_no}</td>
                    <td>{$vo.cainian}</td>
                    <td>{$vo.yijikaoheqi}</td>
                    <td>{$vo.wangdian}</td>
                    <td>{$vo.pinpai}</td>
                    <td>{$vo.feiyong}</td>
                    <td>{$vo.sn}</td>
                    <td>{$vo.wangdian}</td>
                    <td>{$vo.mysn}</td>
                    <td>
						{if condition="$vo.direct eq 1"}
						是
						{else/}
						否
						{/if}
                    </td>
                    <td>{$vo.channel1}</td>
                    <td>{$vo.channel2}</td>
                    <td>{$vo.xingsheng}</td>
                    <td>{$vo.xingshi}</td>
                    <td>{$vo.zong}</td>
                    <td>{$vo.prov}</td>
                    <td>{$vo.shi}</td>
                    <td>{$vo.jxssn}</td>
                    <td>{$vo.jxstitle}</td>
                    <td>{$vo.ssn}</td>
                    <td>{$vo.stitle}</td>
                    <td>{$vo.fenquhead}</td>
                    <td>{$vo.shenghead}</td>
                    <td>{$vo.shihead}</td>
                    
                </tr>
                {/volist}
            </table>
        </div>
         <h5 class="text-center" id="pagesc" style="font-size: 16px;font-weight: 500">
            <script>
                            $(function(){
                                pageSC("pagesc",{$sum},{$page},{$maxpage})
                            })
                        </script>
          每页显示
          <select id="pagesize">
            <option value='10' {if condition="$list eq 10"}selected{/if}>10条</option>
            <option value='15'{if condition="$list eq 15"}selected{/if}>15条</option>
            <option value='20'{if condition="$list eq 20"}selected{/if}>20条</option>

          </select>
        </h5>
    </div>
    <!-- 表格 -->
    <div>
    </div>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!-- <script src="js/plugins/layer/layer.min.js"></script> -->
    <!-- 自定义js -->
    <!-- <script src="js/hplus.js?v=4.1.0"></script> -->
    <!-- <script type="text/javascript" src="js/contabs.js"></script> -->
    <!-- Peity -->
    <script src="__STATIC__/layout/js/plugins/peity/jquery.peity.min.js"></script>
    <!-- jqGrid -->
    <script src="__STATIC__/layout/js/plugins/jqgrid/i18n/grid.locale-cn.js?0820"></script>
    <script src="__STATIC__/layout/js/plugins/jqgrid/jquery.jqGrid.min.js?0820"></script>
    <!-- 自定义js -->
    <script src="__STATIC__/layout/js/content.js?v=1.0.0"></script>
    <script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
    <!-- ztree -->
    <script type="text/javascript" src="__STATIC__/layout/js/jquery.ztree.core.js"></script>
    <script type="text/javascript" src="__STATIC__/layout/js/jquery.ztree.excheck.js"></script>
    <!-- <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script> -->
    <!--统计代码，可删除-->
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
    <script>
      //翻页
     
        $("#check").click(function(){
              $("#page-go").val(1);
              $(".formpage").submit();
        })
        $("#clear_check").click(function(){
            $("select").val(0);
            $("input[type='text']").val('');
            $(".formpage").submit();
        })
  function newlay(){
        	 parent.layer.open({
	            type: 2,
	            title: '导入网点销售目标',
	            shadeClose: true,
	            shade: false,
	            maxmin: true, //开启最大化最小化按钮
	            area: ['1280px', '650px'],
	            content: '{:url("Wangdian/addfor")}'
        	});
        }
    </script>
</body>

</html>